package com.glodon.paas.monitor.server.biz.service;

import java.util.ArrayList;

import com.glodon.paas.monitor.server.biz.domain.MonitorSendRulesEntity;
import com.glodon.paas.monitor.server.dto.MonitorSendRulesDTO;

public interface MonitorSendRulesService {

	int deleteByPrimaryKey(Long id);

	int deleteByAlarmId(Long alarmId);

	int deleteByItemId(Long itemId);

	int insert(MonitorSendRulesEntity record);

	int insertSelective(MonitorSendRulesEntity record);

	MonitorSendRulesEntity selectByPrimaryKey(Long id);

	ArrayList<MonitorSendRulesEntity> queryMonitorSend(MonitorSendRulesDTO monitorSendRulesDTO);

	int updateByPrimaryKeySelective(MonitorSendRulesEntity record);

	int updateByPrimaryKey(MonitorSendRulesEntity record);
}
